
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-youshuangyinhao"></i>
                    <div class="name">右双引号</div>
                    <div class="fontclass">.icon-youshuangyinhao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouyeyinhao"></i>
                    <div class="name">首页-引号</div>
                    <div class="fontclass">.icon-shouyeyinhao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aaa"></i>
                    <div class="name">aaa</div>
                    <div class="fontclass">.icon-aaa</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bbb"></i>
                    <div class="name">bbb</div>
                    <div class="fontclass">.icon-bbb</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ccc"></i>
                    <div class="name">c c c</div>
                    <div class="fontclass">.icon-ccc</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangjiantouicon"></i>
                    <div class="name">上箭头icon</div>
                    <div class="fontclass">.icon-shangjiantouicon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iphone"></i>
                    <div class="name">iphone</div>
                    <div class="fontclass">.icon-iphone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-knock"></i>
                    <div class="name">knock</div>
                    <div class="fontclass">.icon-knock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tel"></i>
                    <div class="name">tel</div>
                    <div class="fontclass">.icon-tel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon02"></i>
                    <div class="name">爱飞单icon-02</div>
                    <div class="fontclass">.icon-aifeidanicon02</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon03"></i>
                    <div class="name">爱飞单icon-03</div>
                    <div class="fontclass">.icon-aifeidanicon03</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon04"></i>
                    <div class="name">爱飞单icon-04</div>
                    <div class="fontclass">.icon-aifeidanicon04</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon05"></i>
                    <div class="name">爱飞单icon-05</div>
                    <div class="fontclass">.icon-aifeidanicon05</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon06"></i>
                    <div class="name">爱飞单icon-06</div>
                    <div class="fontclass">.icon-aifeidanicon06</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon07"></i>
                    <div class="name">爱飞单icon-07</div>
                    <div class="fontclass">.icon-aifeidanicon07</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon08"></i>
                    <div class="name">爱飞单icon-08</div>
                    <div class="fontclass">.icon-aifeidanicon08</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon09"></i>
                    <div class="name">爱飞单icon-09</div>
                    <div class="fontclass">.icon-aifeidanicon09</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon10"></i>
                    <div class="name">爱飞单icon-10</div>
                    <div class="fontclass">.icon-aifeidanicon10</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon11"></i>
                    <div class="name">爱飞单icon-11</div>
                    <div class="fontclass">.icon-aifeidanicon11</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon12"></i>
                    <div class="name">爱飞单icon-12</div>
                    <div class="fontclass">.icon-aifeidanicon12</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon13"></i>
                    <div class="name">爱飞单icon-13</div>
                    <div class="fontclass">.icon-aifeidanicon13</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon14"></i>
                    <div class="name">爱飞单icon-14</div>
                    <div class="fontclass">.icon-aifeidanicon14</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon15"></i>
                    <div class="name">爱飞单icon-15</div>
                    <div class="fontclass">.icon-aifeidanicon15</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon16"></i>
                    <div class="name">爱飞单icon-16</div>
                    <div class="fontclass">.icon-aifeidanicon16</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon17"></i>
                    <div class="name">爱飞单icon-17</div>
                    <div class="fontclass">.icon-aifeidanicon17</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon18"></i>
                    <div class="name">爱飞单icon-18</div>
                    <div class="fontclass">.icon-aifeidanicon18</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon19"></i>
                    <div class="name">爱飞单icon-19</div>
                    <div class="fontclass">.icon-aifeidanicon19</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon20"></i>
                    <div class="name">爱飞单icon-20</div>
                    <div class="fontclass">.icon-aifeidanicon20</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon21"></i>
                    <div class="name">爱飞单icon-21</div>
                    <div class="fontclass">.icon-aifeidanicon21</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon22"></i>
                    <div class="name">爱飞单icon-22</div>
                    <div class="fontclass">.icon-aifeidanicon22</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon23"></i>
                    <div class="name">爱飞单icon-23</div>
                    <div class="fontclass">.icon-aifeidanicon23</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon24"></i>
                    <div class="name">爱飞单icon-24</div>
                    <div class="fontclass">.icon-aifeidanicon24</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon25"></i>
                    <div class="name">爱飞单icon-25</div>
                    <div class="fontclass">.icon-aifeidanicon25</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon26"></i>
                    <div class="name">爱飞单icon-26</div>
                    <div class="fontclass">.icon-aifeidanicon26</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon27"></i>
                    <div class="name">爱飞单icon-27</div>
                    <div class="fontclass">.icon-aifeidanicon27</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon28"></i>
                    <div class="name">爱飞单icon-28</div>
                    <div class="fontclass">.icon-aifeidanicon28</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon29"></i>
                    <div class="name">爱飞单icon-29</div>
                    <div class="fontclass">.icon-aifeidanicon29</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon30"></i>
                    <div class="name">爱飞单icon-30</div>
                    <div class="fontclass">.icon-aifeidanicon30</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon31"></i>
                    <div class="name">爱飞单icon-31</div>
                    <div class="fontclass">.icon-aifeidanicon31</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon32"></i>
                    <div class="name">爱飞单icon-32</div>
                    <div class="fontclass">.icon-aifeidanicon32</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon33"></i>
                    <div class="name">爱飞单icon-33</div>
                    <div class="fontclass">.icon-aifeidanicon33</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon34"></i>
                    <div class="name">爱飞单icon-34</div>
                    <div class="fontclass">.icon-aifeidanicon34</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon35"></i>
                    <div class="name">爱飞单icon-35</div>
                    <div class="fontclass">.icon-aifeidanicon35</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon36"></i>
                    <div class="name">爱飞单icon-36</div>
                    <div class="fontclass">.icon-aifeidanicon36</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon40"></i>
                    <div class="name">爱飞单icon-40</div>
                    <div class="fontclass">.icon-aifeidanicon40</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon41"></i>
                    <div class="name">爱飞单icon-41</div>
                    <div class="fontclass">.icon-aifeidanicon41</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xin1"></i>
                    <div class="name">xin1</div>
                    <div class="fontclass">.icon-xin1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xin2"></i>
                    <div class="name">xin2</div>
                    <div class="fontclass">.icon-xin2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xin3"></i>
                    <div class="name">xin3</div>
                    <div class="fontclass">.icon-xin3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xin4"></i>
                    <div class="name">xin4</div>
                    <div class="fontclass">.icon-xin4</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon401"></i>
                    <div class="name">爱飞单icon-40</div>
                    <div class="fontclass">.icon-aifeidanicon401</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon411"></i>
                    <div class="name">爱飞单icon-41</div>
                    <div class="fontclass">.icon-aifeidanicon411</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon42"></i>
                    <div class="name">爱飞单icon-42</div>
                    <div class="fontclass">.icon-aifeidanicon42</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aifeidanicon43"></i>
                    <div class="name">爱飞单icon-43</div>
                    <div class="fontclass">.icon-aifeidanicon43</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-11"></i>
                    <div class="name">11</div>
                    <div class="fontclass">.icon-11</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-12"></i>
                    <div class="name">12</div>
                    <div class="fontclass">.icon-12</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>实际情况中"iconfont"（font-family）需要修改为你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
